body, ul, table, form {
	margin:0;
	padding:0;
	overflow:hidden;
}
html {
    height: 100%;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

#canvas{
	width: 960px;
	height: 600px;
}

#book-zoom{
	-webkit-transition: -webkit-transform 1s;
	transition: transform 1s;
}

.sj-book{
	width:960px;
	height:600px;
}

.sj-book h1, .sj-book h2, .sj-book h3, .sj-book h4, .sj-book h5, .sj-book h6 {
	color: inherit;
	font-weight: 600;
	margin-block-start: 0px;
	margin-block-end: 0px;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}

.sj-book .book-content-container{
    margin: 20px 30px;
    overflow: hidden;
}

.sj-book .book-content{
	position: relative;
}

.sj-book p{
	margin-block-start: 0px;
	margin-block-end: 0px;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}

.sj-book .zoom-this:hover{
	opacity:0.9;
	cursor:pointer;
}

.sj-book .left-pic{
	float:left;
	margin-top:15px;
	margin-right:15px;
	margin-bottom:15px;
}

.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

.sj-book .shadow{
	-webkit-transition: -webkit-box-shadow 0.5s;

	-webkit-box-shadow:0 0 10px #999;
	box-shadow:0 0 10px #999;
}

.sj-book .page{
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.sj-book .p1,
.sj-book .pend{
	background-color:white;
}
.sj-book .front-side {
	background-color: transparent  !important;
	background-image: linear-gradient(to right, #e0e0e0, rgba(255,255,255,0.5)) !important;
}
.sj-book .back-side{
	background-color: transparent  !important;
	background-image: linear-gradient(to left, #e0e0e0, rgba(255,255,255,0.5)) !important;
}
.sj-book .p1{
	background-position: 480px 0 !important;
    background-size: 200% 100% !important;
}
.sj-book .pend{
    background-position: 0 0 !important;
    background-size: 200% 100% !important;
}
.sj-book .p1 .side{
	width:5px;
	height:600px;
	position:absolute;
	top:0;
	left:475px;

	background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #bbb), color-stop(0.5,  #ddd), color-stop(1,  #bbb));
	background-image:-webkit-linear-gradient(left, #bbb, #ddd, #bbb);
	background-image:linear-gradient(left, #bbb, #ddd, #bbb);

	-webkit-transform:rotateY(-90deg);
	transform:rotateY(-90deg);

	-webkit-transform-origin:top right;
	transform-origin:top right;
	z-index:100000;

}

.sj-book-transform div[page="1"] > div, .sj-book-transform div[page="2"] > div{
	overflow:visible !important;
}

.sj-book .depth{
	background-image:url(img/pages-depth.png);
	position:absolute;
	top:7px;
	width:16px;
	height:590px;
}

.sj-book .front-side .depth{
	left:4px;
	width:0px;
	background-position:0 0;
}

.sj-book .back-side .depth{
	right:4px;
	background-position:right 0;
}

.sj-book .hard{
	width:480px;
	height:600px;
	background-color:white;
	-webkit-box-shadow:none;
	box-shadow:none;
}

.sj-book .page-wrapper{
	-webkit-perspective:2000px;
	perspective: 2000px;
}

.sj-book .own-size{
	width:460px;
	height:582px;
	background-color:white;
	overflow:hidden;
}

.sj-book .even{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
	background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:linear-gradient(left, #fff 95%, #dadada 100%);
}

.sj-book .odd{
	background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #fff), color-stop(1, #cacaca));
	background-image:-webkit-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:linear-gradient(right, #fff 95%, #cacaca 100%);
}

.sj-book .loader{
	background-image:url(img/loader.gif);
	width:22px;
	height:22px;
	position:absolute;
	top:280px;
	left:219px;
}
.sj-book .page-number{
	color:#999;
	width:100%;
	bottom:0px;
	position:absolute;
	display:block;
	text-align: center;
	line-height:30px;
	font-size:11px;
}
.sj-book .table-contents{
	font-size:14px;
	color:#ccc;
    padding: 20px;
    background-image: url(../res/img/menu_background.jpg);
    background-image: 100% 100%;
}
.sj-book .table-contents li{
	list-style:none;
	line-height:20px;
    display: flex;
    flex-direction: row;
}

.sj-book .table-contents span{
	float:right;
}

.sj-book .table-contents a{
	float:left;
	width:100%;
	clear:left;
	text-decoration:none;
	color:#333;
	margin:2px 0;
	padding:0 10px;
}

.sj-book .table-contents a:hover{
	background:#CAD1EE;
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	-webkit-border-radius:10px;
	border-radius:10px;
}

.sj-book .book-image.odd-page {
    width: 100%;
    height: 100%;
    background-position: 480px 0;
    background-size: 200% 100%;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}
.sj-book .book-image.even-page {
    width: 100%;
    height: 100%;
    background-size: 200% 100%;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.sj-book .book-image-child.odd-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, #cacaca));
    background-image: -webkit-linear-gradient(right, rgba(0,0,0,0) 95%, #cacaca 100%);
    background-image: linear-gradient(right, rgba(0,0,0,0) 95%, #cacaca 100%);
}
.sj-book .book-image-child.even-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0,0,0,0)), color-stop(1, #dadada));
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0) 95%, #dadada 100%);
    background-image: linear-gradient(left, rgba(0,0,0,0) 95%, #dadada 100%);
}

.sj-book .capital:first-letter {
    display:block;
    float:left;
    font-size: 300%;
    line-height: 70%;
	margin-right: 6px;
	margin-top: 7px;
	margin-left:18px;
}

.ie8 .sj-book .even,
.ie9 .sj-book .even{
	background-image:url(img/gradient-page-left.jpg);
	background-position:right top;
	background-repeat:repeat-y;
}

.ie8 .sj-book .odd,
.ie9 .sj-book .odd{
	background-image:url(img/gradient-page-right.jpg);
	background-position:left top;
	background-repeat:repeat-y;
}

.zoom-icon{
	position:absolute;
	z-index:1000;
	width:22px;
	height:22px;
	top:10px;
	right:10px;
	background-image:url(img/zoom-icons.png);
	background-size:88px 22px;
}

.zoom-icon-in{
	background-position:0 0;
	cursor: pointer;
}

.zoom-icon-in.zoom-icon-in-hover{
	background-position:-22px 0;
	cursor: pointer;
}

.zoom-icon-out{
	background-position:-44px 0;
}

.zoom-icon-out.zoom-icon-out-hover{
	background-position:-66px 0;
	cursor: pointer;
}
